package com.learn.springlearn.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashMap;

@Data
@Component
@ConfigurationProperties(prefix = "role")
public class RoleConfig {

    private HashMap<String,Integer> roleMap;
}
